<include file="../Public:header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/ui.slider.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/ui.datepicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/timepicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/ui/i18n/jquery-ui-i18n.js"></script>

<if condition="$act eq 'list'">
<script type="text/javascript">
$(document).ready(function(){
	parent.showButton("edit");
}); 
function doButton(btn) { 
    if(btn == "edit") {
        location.href = "__URL__/index/act/edit";
    }
}
</script>
  <div class="content" style="min-height:50px;">
      <table class="form">
        <tr>
          <td><span class="required">*</span>校园名字：</td>
          <td>{$info.name}</td>
        </tr>
        <tr>
          <td><span class="required">*</span>园长：</td>
          <td>{$info.leader_id|getUserName}</td>
        </tr>
        <tr>
          <td><span class="required">*</span>上班时间：</td>
          <td>{$info.worktime}</td>
        </tr>
        <tr>
          <td><span class="required">*</span>联系电话：</td>
          <td>{$info.mobile}</td>
        </tr>
        <tr>
          <td><span class="required">*</span>地址：</td>
          <td>{$info.address}</td>
        </tr>
        <tr>
          <td><span class="required">*</span>校园简介：</td>
          <td class="">{$info.remark}</td>
        </tr>
        
      </table>
  </div>
<elseif condition="$act eq 'edit'"/>
	<include file="index_edit"/>
</if>
<include file="../Public:footer"/>